]> dgit.raspbian.org Git - gnome-shell.git/commit
dialog: Fix setting buttons as initial key focus
authorFlorian Müllner <fmuellner@gnome.org>
Thu, 28 Sep 2017 10:38:33 +0000 (12:38 +0200)
committerFlorian Müllner <fmuellner@gnome.org>
Wed, 4 Oct 2017 16:12:27 +0000 (18:12 +0200)
commit0b02f757f862d0d292e57f68179440f2a0bd572c
tree8ca969ad746e9b705f63a5c3cd01dfa6b98bb53e
parent1939e22c22c142b38216d9e36dcdf79e96003532
dialog: Fix setting buttons as initial key focus

Commit 1c7a3ee61b1892 broke setting the initial key focus for default
buttons added via addButton(). Fix this by allowing the dialog class
to provide a different default widget to ModalDialog than the entire
dialog itself.

https://bugzilla.gnome.org/show_bug.cgi?id=788282
js/ui/dialog.js
js/ui/modalDialog.js